#include <stdio.h>
int main(int argc, char *argv[]) {
    int x,y,z;
    scanf("%d %d",&x,&y);
    z=x;
    x=y;
    y=z;
    printf("%d %d",x,y);
}
